package collection;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @author DBX
 * @effect
 * @date 2021/09/04/16:17
 */
public class Test2 {
    public static void main(String args[]) {
		Collection<String> c = new ArrayList<>();
		c.add("one");
		c.add("two");
		c.add("three");
		c.add("four");
		c.add("five");
		for(String s : c) {
			System.out.println(s);
		}
	}
}
